package com.wdh.cloud.order.service;

import com.wdh.cloud.domain.order.OrderEntity;
import com.wdh.cloud.order.dao.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    @Autowired
    private OrderMapper orderMapper;

    public OrderEntity getById(Integer id){
        return orderMapper.selectById(id);
    }
}
